home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiillllEEEExxxxppppIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllEEEExxxxppppIIIImmmmgggg((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiillllEEEExxxxppppIIIImmmmgggg - performs pixelwise exponentiation of an image
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- ilLink : ilImage : ilCacheImg : ilMemCacheImg : ilOpImg : ilMonadicImg :
- ilLutImg : ilArithLutImg
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilExpImg.h>
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ilExpImg performs pixelwise exponentiation of any valid IL image. An
- image of any data type can be given as input. The proper data
- conversions are performed to ensure output is of an appropriate type for
- the range of values the exponentiation produces. The smallest data type
- that is produced is _i_l_C_h_a_r.
-
- Exponentiation is computed for any base specified. Common choices are
- base 10 or natural base _e. The basic computation is defined as:
-
- basepixel*scale+bias
-
- The functions provided by the standard math library, libm, are employed
- to compute the exponentiation. The eeeexxxxpppp() and eeeexxxxppppffff() are used to compute
- the base _e exponents for double and float data, respectively. Similarly,
- ppppoooowwww() and ppppoooowwwwffff() are used to compute the base _e exponents for double and
- float data, respectively.
-
- The minimum and maximum pixel values are adjusted based on the input
- minimum and maximum pixels and the operaton performed. This is done to
- facilitate proper scaling of the data when displayed.
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
-
- ilExpImg(ilImage* inImg = NULL, double expBase = 0,
- double scale=1., double bias=0.)
-
- SSSSeeeetttt bbbbaaaasssseeee vvvvaaaalllluuuueeee
-
- void setBase(double expBase = 0)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiillllEEEExxxxppppIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllEEEExxxxppppIIIImmmmgggg((((3333))))
-
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- iiiillllEEEExxxxppppIIIImmmmgggg(((())))
-
- ilExpImg(ilImage *inImg, double expBase = 0,
- double scale=1., double bias=0.)
-
-
- Constructor for this class. The parameter, _i_n_I_m_g, is a pointer to
- the input image; _e_x_p_B_a_s_e indicates the base to be used in the
- exponentiation. If _e_x_p_B_a_s_e equals zero, then the natural base, _e,
- is used. The optional scale and bias are applied to the result of
- the exponentiation. These can be used to scale the result to fit in
- a smaller data type if desired.
-
- sssseeeettttBBBBaaaasssseeee(((())))
-
- void setBase(double expBase = 0)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-